import create from '@utils/create';
import mreaPopup from './map-popup.vue';

const defaultParam = {
	lat: '',
	lng: '',
	callback: null,
	remove: null
};

export default function MapPopup(options: any = {}) {
	options = { ...defaultParam, ...options };
	create(mreaPopup, {
		...options
	});
}
